<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width,user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="keywords" content="任务管理"/>
    <meta name="description" content="任务管理"/>
    <meta name="author" content="小柒2012" />
    <meta name="site" content="https://blog.52itstyle.com" />
    <title>登陆</title>
    <link th:href="@{/flat_ui/css/vendor/bootstrap.min.css}" rel="stylesheet"/>
    <link th:href="@{/flat_ui/css/flat-ui.css}" rel="stylesheet"/>
</head>
<body>
<div class="container" style="margin-top: 1%;">
    <div class="row">
        <div class="col-md-10 col-md-offset-1">

            <div class="login">
                <div class="login-screen">
                    <div class="login-icon">
                        <a target="_blank" href="https://gitee.com/zxfmike/spring-data-quartz" class="text-warning"><h5>MrZhang</h5></a>
                        <a target="_blank" href="https://gitee.com/zxfmike/spring-data-quartz"><img
                                th:src="@{/flat_ui/img/pay.jpg}"
                                class="img-rounded img-responsive"/></a>
                    </div>
                    <div class="login-form">
                        <!--  登陆失败会显示这句话 -->
                        <p th:if="${error==true}" style="color: red">错误的帐号或密码</p>　　　　　
                        <!-- 退出登陆会显示这句话 -->
                        <p th:if="${logout==true}" >已退出登录</p>　　　　　　　　　　　　　　
                        <!-- 这是个假的登录 -->
                         <form  action="/log" method="post">
                            <div class="control-group">
                                <input type="text" name="username" class="login-field form-control" id="username"
                                       placeholder="请输入用户名"
                                       required="required" maxlength="255" autocomplete="off"/>
                                <label class="login-field-icon fui-user" for="username"></label>
                            </div>
                            <div class="control-group">
                                <input type="password" name="password" class="login-field form-control" id="password"
                                       placeholder="请输入密码"
                                       required="required" maxlength="255"/>
                                <label class="login-field-icon fui-lock" for="password"></label>
                            </div>
                             <!-- 是否记住我功能勾选框 -->
                             <input id="remember-me" name="remember-me" type="checkbox"/>　　　　　　　　　　　　　　　　
                             <label for="remember-me">一周内记住我</label>
                            <button  type="submit" class="btn btn-primary btn-large btn-block">登陆</button><!--onclick="window.location.href='main.shtml'-->

                            <span class="text-danger pull-right" style="font-size: 13px;margin-top: 15px;">

                            </span>
                         </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>